import request from "@/utils/request";

// 获取 健康评测列表
export function reviewOlder (params = {}) {
  return request({
    url: 'review/older',
    method: 'get',
    params
  })
}

// 获取 健康评测 详情
export function reviewInfo (params = {}) {
  return request({
    url: 'review/info',
    method: 'get',
    params
  })
}


// 获取 健康评测 问题
export function reviewQuestion (params = {}) {
  return request({
    url: 'review/question',
    method: 'get',
    params
  })
}

// 添加健康评测
export function reviewAdd (data = {}) {
  return request({
    url: 'review/add',
    method: 'post',
    data,
    isJSON: false
  })
}

// 删除健康评测
export function reviewDelete (data = {}) {
  return request({
    url: 'review/delete',
    method: 'post',
    data,
    isJSON: false
  })
}



